go/printer.printer.setComment (method)

17 uses

	go/printer (current package)
		nodes.go#L72: func (p *printer) setComment(g *ast.CommentGroup) {
		nodes.go#L475: 	p.setComment(&ast.CommentGroup{List: []*ast.Comment{{Slash: token.NoPos, Text: text}}})
		nodes.go#L541: 			p.setComment(f.Doc)
		nodes.go#L566: 				p.setComment(f.Comment)
		nodes.go#L596: 			p.setComment(f.Doc)
		nodes.go#L608: 			p.setComment(f.Comment)
		nodes.go#L1548: 	p.setComment(s.Doc)
		nodes.go#L1567: 		p.setComment(s.Comment)
		nodes.go#L1621: 		p.setComment(s.Doc)
		nodes.go#L1627: 		p.setComment(s.Comment)
		nodes.go#L1634: 		p.setComment(s.Doc)
		nodes.go#L1644: 		p.setComment(s.Comment)
		nodes.go#L1647: 		p.setComment(s.Doc)
		nodes.go#L1661: 		p.setComment(s.Comment)
		nodes.go#L1669: 	p.setComment(d.Doc)
		nodes.go#L1833: 	p.setComment(d.Doc)
		nodes.go#L1903: 	p.setComment(src.Doc)